Favicon

You are here: Home > API Reference > Mdm Devices > Get os-versions from mdmDevice

Get os-versions from mdmDevice

Get os-versions from mdmDevice

GET
/v1/organizations/:organizationId/mdm/devices/os-versions
Copy to clipboard

Get os-versions from mdmDevice

Get os-versions from mdmDevice

Request

Add parameter in header authorization
Example: Authorization: Bearer <token>
organizationId string
required
Entity Id or Slug
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
os string
optional
androidiosmacoswindows

Responses

200 Response application/json
status boolean optional
data object optional
items array [object] optional
value string optional
≤ 256 characters
os string optional
android ios macos windows
count integer optional
≥ 0
{
    "status": true,
    "data": {
        "items": [
            {
                "value": "string",
                "os": "android",
                "count": 0
            }
        ]
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}